package com.codeoss.framework.view.json;

import java.util.HashMap;
import java.util.Map;

public class Component {
	private String id;
	private Map<String,Object> propertyMap=new HashMap<String,Object>();
	protected String type;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Map<String, Object> getPropertyMap() {
		return propertyMap;
	}
	public void setPropertyMap(Map<String, Object> propertyMap) {
		this.propertyMap = propertyMap;
	}
	
	public void addProperty(String key,Object value) {
		propertyMap.put(key, value);
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
}
